﻿using MvcStarterKit.Infrastructure;
using NHibernate.Tool.hbm2ddl;
using NUnit.Framework;

namespace MvcStarterKit.IntegrationTest
{
	[TestFixture]
	public class DatabaseTester
	{
		[Test, Explicit]
		public void CreateDatabaseSchema()
		{
			var export = new SchemaExport(AppConfig.BuildConfiguration());
			export.Execute(true	, true, false);
		}

		[Test, Explicit]
		public void DropDatabaseSchema()
		{
			var export = new SchemaExport(AppConfig.BuildConfiguration());
			export.Drop(false,true);			
		}
	}
}
